﻿@model MVCDemo.Models.CitiesViewModel

@{
    ViewBag.Title = "ListBox";
}

<div style="font-family: Arial">
    <h2>ListBox</h2>
    @using (Html.BeginForm())
    {
        @Html.ListBoxFor(x => x.SelectedCities, Model.Cities, new { size = 6 })
        <br />
        <input type="submit" value="submit" />
    }
</div>
